package com.example.helloworld.client;


import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Query;
import com.example.helloworld.model.res.allOfCdzListVo;

@BaseRequest(
        headers = {
                "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36",
                "Accept: application/json, text/plain, */*",
                "Accept-Encoding: gzip, deflate, br",
        }
)

public interface CdzClient {
    // 获取湖经所有的充电数据
    @Get( "https://charge.pgzl360.com/app/api/v1/app/charging/list/by/chargingGroup")
    allOfCdzListVo getAllChargingData(@Query("chargingGroupId") String chargingGroupId);

}
